﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Mvc;
using JinianNet.JNCms.Filters;
using System.Web;

namespace JinianNet.JNCms.Controllers
{
    [ErrorMessagesFilter()]
    public class ControllerBase : Controller
    {
        protected override void OnException(ExceptionContext filterContext)
        {
            base.OnException(filterContext);
        }

        protected virtual ActionResult PageNotFound()
        {
            throw new HttpException(404, "Page Not Found");
            //return Content("Page Not Found");
        }
    }
}
